.class Les/bw$b;
.super Ljava/lang/Object;
.source "DbHelper.java"

# interfaces
.implements Les/bw$j;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/bw;->a(Ljava/lang/String;Ljava/util/List;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Les/bw;


# direct methods
.method constructor <init>(Les/bw;Ljava/util/List;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/bw$b;->c:Les/bw;

    iput-object p2, p0, Les/bw$b;->a:Ljava/util/List;

    iput-object p3, p0, Les/bw$b;->b:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Z
    .locals 6

    .line 1
    iget-object v0, p0, Les/bw$b;->c:Les/bw;

    iget-object v1, p0, Les/bw$b;->a:Ljava/util/List;

    const-string v2, "_id"

    invoke-static {v0, v2, v1}, Les/bw;->a(Les/bw;Ljava/lang/String;Ljava/util/List;)Ljava/util/List;

    move-result-object v0

    .line 2
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 3
    iget-object v3, p0, Les/bw$b;->c:Les/bw;

    invoke-static {v3}, Les/bw;->a(Les/bw;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    iget-object v4, p0, Les/bw$b;->b:Ljava/lang/String;

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v1, v5}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    move-result v1

    const/4 v3, 0x0

    if-lez v1, :cond_1

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    :goto_0
    if-nez v2, :cond_0

    return v3

    :cond_2
    return v2
.end method
